from threading import Thread
from webs import start_stop_web

__author__ = 'Administrator'
print('hello world')


# 启动 web 服务
def func1(name):
    print(f"{name}开始")
    start_stop_web.run()
    print(f"{name}结束")



if __name__ == '__main__':
    t1 = Thread(target=func1, args=("线程1",))
    t1.start()
    print("主线程结束")
